package com.briup.DTO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;



import java.util.Objects;

public class SaveOrUpdateAnimalDTO {

    /**
     * 动物编号
     */
    @TableId
    private String aAnimalId;

    /**
     * 动物体重
     */
    private String aWeight;

    /**
     * 动物性别,雌性，雄性
     */
    private String aGender;

    /**
     * 健康状态,健康,生病
     */
    private String aHealthy;

    /**
     * 过程状态,养殖中，已检疫，已出栏，已屠宰，已入库，已销售
     */
    private String aStatus;

    /**
     * 疫苗接种状态未接种,已接种
     */
    private String aInoculate;

    /**
     * 录入时间
     */
    private String aTime;

    /**
     * 订单id
     */
    private String aBackup1;

    /**
     *
     */
    private String aBackup2;

    /**
     *
     */
    private String aBackup3;

    /**
     * 批次外键
     */
    private String aBatchId;

    /**
     * 栏圈外键
     */
    private String aHurdlesId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public void setaAnimalId(String aAnimalId) {
        this.aAnimalId = aAnimalId;
    }

    public void setaWeight(String aWeight) {
        this.aWeight = aWeight;
    }

    public void setaGender(String aGender) {
        this.aGender = aGender;
    }

    public void setaHealthy(String aHealthy) {
        this.aHealthy = aHealthy;
    }

    public void setaStatus(String aStatus) {
        this.aStatus = aStatus;
    }

    public void setaInoculate(String aInoculate) {
        this.aInoculate = aInoculate;
    }

    public void setaTime(String aTime) {
        this.aTime = aTime;
    }

    public void setaBackup1(String aBackup1) {
        this.aBackup1 = aBackup1;
    }

    public void setaBackup2(String aBackup2) {
        this.aBackup2 = aBackup2;
    }

    public void setaBackup3(String aBackup3) {
        this.aBackup3 = aBackup3;
    }

    public void setaBatchId(String aBatchId) {
        this.aBatchId = aBatchId;
    }

    public void setaHurdlesId(String aHurdlesId) {
        this.aHurdlesId = aHurdlesId;
    }

    public String getaAnimalId() {
        return aAnimalId;
    }

    public String getaWeight() {
        return aWeight;
    }

    public String getaGender() {
        return aGender;
    }

    public String getaHealthy() {
        return aHealthy;
    }

    public String getaStatus() {
        return aStatus;
    }

    public String getaInoculate() {
        return aInoculate;
    }

    public String getaTime() {
        return aTime;
    }

    public String getaBackup1() {
        return aBackup1;
    }

    public String getaBackup2() {
        return aBackup2;
    }

    public String getaBackup3() {
        return aBackup3;
    }

    public String getaBatchId() {
        return aBatchId;
    }

    public String getaHurdlesId() {
        return aHurdlesId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "SaveOrUpdateAnimalDTO{" +
                "aAnimalId='" + aAnimalId + '\'' +
                ", aWeight='" + aWeight + '\'' +
                ", aGender='" + aGender + '\'' +
                ", aHealthy='" + aHealthy + '\'' +
                ", aStatus='" + aStatus + '\'' +
                ", aInoculate='" + aInoculate + '\'' +
                ", aTime='" + aTime + '\'' +
                ", aBackup1='" + aBackup1 + '\'' +
                ", aBackup2='" + aBackup2 + '\'' +
                ", aBackup3='" + aBackup3 + '\'' +
                ", aBatchId='" + aBatchId + '\'' +
                ", aHurdlesId='" + aHurdlesId + '\'' +
                '}';
    }

    public SaveOrUpdateAnimalDTO() {
    }

    public SaveOrUpdateAnimalDTO(String aAnimalId, String aWeight, String aGender, String aHealthy, String aStatus, String aInoculate, String aTime, String aBackup1, String aBackup2, String aBackup3, String aBatchId, String aHurdlesId) {
        this.aAnimalId = aAnimalId;
        this.aWeight = aWeight;
        this.aGender = aGender;
        this.aHealthy = aHealthy;
        this.aStatus = aStatus;
        this.aInoculate = aInoculate;
        this.aTime = aTime;
        this.aBackup1 = aBackup1;
        this.aBackup2 = aBackup2;
        this.aBackup3 = aBackup3;
        this.aBatchId = aBatchId;
        this.aHurdlesId = aHurdlesId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SaveOrUpdateAnimalDTO that = (SaveOrUpdateAnimalDTO) o;
        return Objects.equals(aAnimalId, that.aAnimalId) &&
                Objects.equals(aWeight, that.aWeight) &&
                Objects.equals(aGender, that.aGender) &&
                Objects.equals(aHealthy, that.aHealthy) &&
                Objects.equals(aStatus, that.aStatus) &&
                Objects.equals(aInoculate, that.aInoculate) &&
                Objects.equals(aTime, that.aTime) &&
                Objects.equals(aBackup1, that.aBackup1) &&
                Objects.equals(aBackup2, that.aBackup2) &&
                Objects.equals(aBackup3, that.aBackup3) &&
                Objects.equals(aBatchId, that.aBatchId) &&
                Objects.equals(aHurdlesId, that.aHurdlesId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(aAnimalId, aWeight, aGender, aHealthy, aStatus, aInoculate, aTime, aBackup1, aBackup2, aBackup3, aBatchId, aHurdlesId);
    }
}
